package demo; /**
 * 等腰三角
 * @Author zhang heqiang
 * @Date 2020/4/25
 * @return
 **/
import java.util.Random;
/**
 * 逢7过
 * @Author zhang heqiang
 * @Date 2020/4/25
 * @return
 **/
public class Demo04 {
    public static void main(String[] args) {
        int[]arr =new int [10];
        Random R=new Random();
        int sum =0;
        for (int a = 0; a < 10; a++) {
            int i = R.nextInt(31)+50;
            arr[a]=i;
            int ge = arr[a]%10;
            int shi= arr[a]/10;
            if (ge!=7&&shi!=7){
                System.out.println(arr[a]);
            }
        }
    }
}

